package org.upt.dcda;

import java.util.List;

import org.upt.dcda.db.TagEntity;
import org.upt.dcda.exceptions.BookstoreException;

public interface TagManager
{
	public static final String	TAG_BEAN_NAME	= "java:global/BookstoreEAR/BookstoreLogic/TagManagerBean!org.upt.dcda.TagManagerBeanRemote";

	public void addTag(String tagName) throws BookstoreException;

	public List<TagEntity> getAllTags() throws BookstoreException;

	public TagEntity getTagById(int tagId) throws BookstoreException;
}
